package ial10.project.synth;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.Spinner;

public class Synth extends Activity {
    /** Called when the activity is first created. */
	Spinner wavetypeSpinner;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.synth);
        
        wavetypeSpinner = (Spinner) findViewById(R.id.wvFormSpinner);
        
        ArrayAdapter adapter = ArrayAdapter.createFromResource(this,
				R.array.wave_type, android.R.layout.simple_spinner_item);
		adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
		wavetypeSpinner.setAdapter(adapter);
    }
}